
// less
.his-head-base () {
	display: block;
	background-color: #FFFFCC;
	&:after {
		content: " ";
		display: block;
		height: 0;
		clear: both;
		visibility: hidden;
	}
}


#main_north {
	height:112px;
}

@west-width: 13%;

#main_west {
	width: @west-width;
	margin-left: 1px;
}

//head1, head2
.his-heard-1, 
.his-heard-2 {
	.his-head-base;
}

@his-head-sub-bgcolor: #4682b4;

.his-head-sub (@w, @h) {
	width: @w;
	height: @h;
	background-color: #4682b4;
	float: left;
	overflow: hidden;
}

@head-1-height: 60px;
@head-2-height: 50px;

.his-heard-1-left {
	.his-head-sub (@west-width, @head-1-height);
}

.his-heard-1-right {
	.his-head-sub (100%-@west-width, @head-1-height);
}

.his-heard-2-left {
	.his-head-sub (@west-width, @head-2-height);
}

.his-heard-2-right {
	.his-head-sub (100%-@west-width, @head-2-height);
}


@a-original-bgcolor: #4682b4;
@a-clicked-bgcolor: #FF6347;

.nav {
	width: 100%;
	ul {
		margin: 0 auto;
		//必须设置, 才能避免和子元素之间的空隙
		padding: 0;
		li {
			display: inline;
			margin: 0 8px 0 0;
		}
	}
}

.menu01-a-style {
	display: inline-block;
	text-decoration: none;
	padding: 0 7px;
	height: 60px;
	//这里`line-height`必须设置， 但是我没明白原理。
	//设置成50是最合适的 40或60太偏了(偏上或偏下)
	//`height`,`line-height`,`font-size`之间到底是什么关系呢？
	line-height: 50px;
	color: #FFF;
	background-color: @a-original-bgcolor;
	font-family: "\5FAE\8F6F\96C5\9ED1";
	font-size: 18px;
	font-weight: bold;
	&:hover {
		background-color: lighten(@a-clicked-bgcolor, 0%);
	}
}

//一级菜单被点击之后的样式
.a-clicked {
	background-color: @a-clicked-bgcolor;
}

/* 左侧菜单 > 二级菜单 */
.west-menu {
	width: 100%;
	margin: 2px 0 0 0;
	text-align: left;
	line-height: 0px;
}

@cs2-bgc: @a-original-bgcolor;
@cs2-padding-left: 8px;

.cs02 {
	color: #ffffff;
	text-decoration: none;
	font-family: "\5FAE\8F6F\96C5\9ED1";
	font-size: 16px;
	cursor: pointer;
	display: block;
	background-color: @cs2-bgc;
	padding: 0 0 0 @cs2-padding-left;
	margin: 0 0 1px 0;
	height: 30px;
	line-height: 25px;
	text-align: left;
	overflow: hidden;
	&:hover {
		background-color: lighten(@a-clicked-bgcolor, 0%);
	}
}

// `.cs02-clicked` 必须放在 `.cs02`之后定义 否则无效！
.cs02-clicked {
	.a-clicked;
}

.his-dept-div {
	/*text-align: center;*/
	//使内部元素垂直居中的一种办法, `height`,`line-height`设置相同值.
	height: @head-2-height;
	line-height: @head-2-height;
	overflow: hidden;
	//和`.cs02`的padding-left相同
	padding-left: @cs2-padding-left;
}

.his-department {
	font-size: 16px;
	font-weight: bold;
	color: #ffffff;
	label {
		color: yellow;
	}
}

.HIS_title {
	display: inline-block;
	margin: 16px 0;
	text-align: left;
	font-size: 22px;
	font-weight: bold;
	color: #ffffff;
	float: left;
}

.welcome-and-tools {
	display: inline-block;
	float: right;
}

.home-user-info {
	display: inline-block;
	color: #ffffff;
	margin: 16px 0;
	font-size: 22px;
	font-weight: bold;
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
    // [CSS 背景](http://www.w3school.com.cn/css/css_background.asp)
    background-image: url(../images/logout_16px_black.png);
    background-repeat: no-repeat;
    background-position: 10px 50%;
    &:hover {
    	color: #fff;
    	background-color: @a-clicked-bgcolor;
    }
}

.btn {
    display: inline-block;
    padding: 3px 6px 3px 30px;
    margin: -2px 15px 8px 5px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    border-radius: 4px;
}


